# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-doxylink
_pkgname=sphinxcontrib-doxylink
pkgver=1.6.1
pkgrel=3
pkgdesc="Sphinx Doxygen linking extension"
url="https://github.com/sphinx-contrib/doxylink"
arch="noarch"
license="BSD-2-Clause"
depends="py3-parsing py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-doxylink" # for backwards compatibility
provides="py-sphinxcontrib-doxylink=$pkgver-r$pkgrel" # for backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c27983cbd54d6ff2c4110b0269d630cd81b8aff6bf7f6b1b006dbb18fc3643d59a25ecff0ec9c92785c697e38861e755fb44a95382314b8b2888da9e8e191637  sphinxcontrib-doxylink-1.6.1.tar.gz"
